package com.geetour.columbus.region.dao;

import java.util.List;

import com.geetour.columbus.common.exceptions.DAOException;
import com.geetour.columbus.common.model.D.City;
import com.geetour.columbus.common.model.D.District;
import com.geetour.columbus.common.model.D.Province;

public interface IRegionDictDAO {

    /**
     * 得到所有省份
     * 
     * @return
     */
    public List<Province> findAllProvinces() throws DAOException;

    /**
     * 根据省份ID得到地市
     * 
     * @param id
     * @return
     */
    public List<City> findCitysByProvinceId(Long id) throws DAOException;

    /**
     * 根据地市ID得到区县
     * 
     * @param id
     * @return
     */
    public List<District> findDistrictsByCityId(Long id) throws DAOException;
}
